<?php 
$m_class = $this->uri->segment(2,0);
if($m_class=="" || $m_class==null){
	$m_class = "";
}
?>
<div align="center"><br />
<table id="admin-lpanel-menu" width="100%" cellspacing="0" cellpadding="0">
   <tr class="menu">
    <td <?php if($m_class=="member"){echo "class='active'";}?>><a href="<?php echo site_url(array('just4u','member'))?>"><div>
    &nbsp;&nbsp;<span <?php if($m_class=="member"){echo "class='member-active'";}else{echo "class='member'";}?>>&nbsp;</span>Member
    </div></a></td>
  </tr>
  <tr class="menu">
    <td <?php if($m_class=="edisi"){echo "class='active'";}?>><a href="<?php echo site_url(array('just4u','edisi','sajian-utama'))?>">
    <div>
    &nbsp;&nbsp;<span <?php if($m_class=="edisi"){echo "class='edisi-active'";}else{echo "class='edisi'";}?>>&nbsp;</span>Edisi</div></a></td>
  </tr> 
  <tr class="menu">
    <td <?php if($m_class=="event"){echo "class='active'";}else{}?>><a href="<?php echo site_url(array('just4u','event'))?>">
    <div>
    &nbsp;&nbsp;<span <?php if($m_class=="event"){echo "class='event-active'";}else{echo "class='event'";}?>>&nbsp;</span>Event
    </div></a></td>
  </tr>
  <tr class="menu">
    <td <?php if($m_class==("news" || "news_add" || "news_edit")){echo "class='active'";}?>><a href="<?php echo site_url(array('just4u','news'))?>">
    <div>
    &nbsp;&nbsp;<span <?php if($m_class==("news" || "news_add")){echo "class='news-active'";}else{echo "class='news'";}?>>&nbsp;</span>News</div></a>
    </td>
  </tr>
  <tr class="menu">
    <td <?php if($m_class=="info"){echo "class='active'";}?>><a href="<?php echo site_url(array('just4u','info'))?>">
    <div>
    &nbsp;&nbsp;<span <?php if($m_class=="info"){echo "class='info-active'";}else{echo "class='info'";}?>>&nbsp;</span>Info
    </div></a></td>
  </tr>
  <tr class="menu">
    <td <?php if($m_class=="help"){echo "class='active'";}?>><a href="<?php echo site_url(array('just4u','help'))?>">
    <div>
    &nbsp;&nbsp;<span <?php if($m_class=="help"){echo "class='help-active'";}else{echo "class='help'";}?>>&nbsp;</span>Help
    </div></a></td>
  </tr>  
  <tr class="menu">
     <td <?php if($m_class=="download"){echo "class='active'";}?>><a href="<?php echo site_url(array('just4u','download'))?>"><div>
     &nbsp;&nbsp;<span <?php if($m_class=="download"){echo "class='download-active'";}else{echo "class='download'";}?>>&nbsp;</span>Download</td>
  </tr>
  <tr class="menu">
     <td <?php if($m_class=="album"){echo "class='active'";}?>><a href="<?php echo site_url(array('just4u','album'))?>"><div>
     &nbsp;&nbsp;<span <?php if($m_class=="album"){echo "class='album-active'";}else{echo "class='album'";}?>>&nbsp;</span>Album</td>
  </tr>
</table>
</div>